<ion-view >

<header  class="user-defined-header user-header-style2 bar" >
	<a class="button button-clear icon ion-ios-arrow-left" href="#/tab/account" ></a>
		<h1 class="title">购物车</h1>
</header>

<ion-content class="has-header bk-gray" ng-init="getShopList()">

	<div class="shop_tab_area">
			<div class="shop_tab_item border_right" ng-click="goToNoPay()">
				<a class="shop_tab_item_text">待支付</a>
			</div>
			<div class="shop_tab_item border_right" ng-click="goToNoTransport()">
				<a class="shop_tab_item_text">待发货</a>
			</div>
			<div class="shop_tab_item border_right" ng-click="goToWuLiuList()">
				<a class="shop_tab_item_text">物流</a>
			</div>
			<div class="shop_tab_item border_right" ng-show="false">
				<a class="shop_tab_item_text">积分</a>
			</div>
			<div class="shop_tab_item border_right">
				<a class="shop_tab_item_text">退款</a>
			</div>
			<div class="shop_tab_item border_right">
				<a class="shop_tab_item_text">售后保障</a>
			</div>
			<div class="shop_tab_item" ng-click="goToHistory()">
				<a class="shop_tab_item_text">购物记录</a>
			</div>
	</div>

		<div class="list order-user-panel-no-underware" ng-click="goToChooseAddress()" ng-show="false">
		  <a class="item item-icon-right">
		    <div class="order-userInfo">
		    	<div class="padding-TB-5 font-color-lightBlack order-userInfo-contact">
		    		<i class="ion-ios-person-outline"></i><span>{{userInfo.realname}}</span>
		    		<i class="ion-iphone"></i><span>{{userInfo.mobile}}</span>
		    	</div>
		    	<div class="font-color-gray font-size-normal">配送地址：{{userInfo.address}}</div>
		    </div>

		    <i class="icon ion-ios-arrow-right font-color-lightBlack"></i>
		  </a>
		</div>

		<p class="margin_top_10px"></p>

		<ion-list>

		  <div class="item" ng-repeat="x in shopList">

		    <div class="shop_item" ng-click="select(x)">

					<a ng-class="{shop_item_selected_dot:x.isSelected,shop_item_unselected_dot:!x.isSelected}"></a>

		      <img class="shop_item_img" src="{{x.product.image}}">

		      <div class="margin_horizontal_10px">
		        <p>{{x.product.name}}</p>
		        <p><a class="red_medium_font">￥{{x.product.sale_price}}</a></p>
		      </div>

		      <div class="shop_item_op_area">
		        <div class="text_right_in_horizon"><a class="red-content ion ion-close-round" ng-click="showShopDeleteConfirm(x.product.id)"></a></div>
		        <div class="text_right_in_horizon "><a class="gray_medium_font">购买数量</a></div>
		        <count-input ng-model="x.number" class="float-right"></count-input>
		      </div>

		    </div>

		  </div>

		</ion-list>

		<div class="shop_cart_total">订单总价:<span class="red_medium_font">{{count_price}}元</span></div>


</ion-content >

<<ion-footer-bar align-title="middle" class="bar-assertive" ng-show="isShowPayButton" ng-click="goto_orderConfirm()">
  <h1 class="title">立即支付</h1>
</ion-footer-bar>


</ion-view>
